Optimal. Leaf size=65 \[ \frac {A x \sqrt {\cos (c+d x)}}{b \sqrt {b \cos (c+d x)}}+\frac {B \sqrt {\cos (c+d x)} \sin (c+d x)}{b d \sqrt {b \cos (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 65, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.061, Rules used = {17, 2717}
\begin {gather*} \frac {A x \sqrt {\cos (c+d x)}}{b \sqrt {b \cos (c+d x)}}+\frac {B \sin (c+d x) \sqrt {\cos (c+d x)}}{b d \sqrt {b \cos (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 17
Rule 2717
Rubi steps
\begin {align*} \int \frac {\cos ^{\frac {3}{2}}(c+d x) (A+B \cos (c+d x))}{(b \cos (c+d x))^{3/2}} \, dx &=\frac {\sqrt {\cos (c+d x)} \int (A+B \cos (c+d x)) \, dx}{b \sqrt {b \cos (c+d x)}}\\ &=\frac {A x \sqrt {\cos (c+d x)}}{b \sqrt {b \cos (c+d x)}}+\frac {\left (B \sqrt {\cos (c+d x)}\right ) \int \cos (c+d x) \, dx}{b \sqrt {b \cos (c+d x)}}\\ &=\frac {A x \sqrt {\cos (c+d x)}}{b \sqrt {b \cos (c+d x)}}+\frac {B \sqrt {\cos (c+d x)} \sin (c+d x)}{b d \sqrt {b \cos (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 42, normalized size = 0.65 \begin {gather*} \frac {\cos ^{\frac {3}{2}}(c+d x) (A (c+d x)+B \sin (c+d x))}{d (b \cos (c+d x))^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.20, size = 39, normalized size = 0.60
method | result | size |
default | \(\frac {\left (\cos ^{\frac {3}{2}}\left (d x +c \right )\right ) \left (A \left (d x +c \right )+B \sin \left (d x +c \right )\right )}{d \left (b \cos \left (d x +c \right )\right )^{\frac {3}{2}}}\) | \(39\) |
risch | \(\frac {A x \left (\sqrt {\cos }\left (d x +c \right )\right )}{b \sqrt {b \cos \left (d x +c \right )}}+\frac {B \sin \left (d x +c \right ) \left (\sqrt {\cos }\left (d x +c \right )\right )}{b d \sqrt {b \cos \left (d x +c \right )}}\) | \(58\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.58, size = 40, normalized size = 0.62 \begin {gather*} \frac {\frac {2 \, A \arctan \left (\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1}\right )}{b^{\frac {3}{2}}} + \frac {B \sin \left (d x + c\right )}{b^{\frac {3}{2}}}}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.40, size = 187, normalized size = 2.88 \begin {gather*} \left [-\frac {A \sqrt {-b} \cos \left (d x + c\right ) \log \left (2 \, b \cos \left (d x + c\right )^{2} + 2 \, \sqrt {b \cos \left (d x + c\right )} \sqrt {-b} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right ) - b\right ) - 2 \, \sqrt {b \cos \left (d x + c\right )} B \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right )}{2 \, b^{2} d \cos \left (d x + c\right )}, \frac {A \sqrt {b} \arctan \left (\frac {\sqrt {b \cos \left (d x + c\right )} \sin \left (d x + c\right )}{\sqrt {b} \cos \left (d x + c\right )^{\frac {3}{2}}}\right ) \cos \left (d x + c\right ) + \sqrt {b \cos \left (d x + c\right )} B \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right )}{b^{2} d \cos \left (d x + c\right )}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 50.58, size = 80, normalized size = 1.23 \begin {gather*} \begin {cases} \frac {A x \cos ^{\frac {3}{2}}{\left (c + d x \right )}}{\left (b \cos {\left (c + d x \right )}\right )^{\frac {3}{2}}} + \frac {B \sin {\left (c + d x \right )} \cos ^{\frac {3}{2}}{\left (c + d x \right )}}{d \left (b \cos {\left (c + d x \right )}\right )^{\frac {3}{2}}} & \text {for}\: d \neq 0 \\\frac {x \left (A + B \cos {\left (c \right )}\right ) \cos ^{\frac {3}{2}}{\left (c \right )}}{\left (b \cos {\left (c \right )}\right )^{\frac {3}{2}}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.02, size = 61, normalized size = 0.94 \begin {gather*} \frac {\sqrt {\cos \left (c+d\,x\right )}\,\sqrt {b\,\cos \left (c+d\,x\right )}\,\left (B\,\sin \left (2\,c+2\,d\,x\right )+2\,A\,d\,x\,\cos \left (c+d\,x\right )\right )}{b^2\,d\,\left (\cos \left (2\,c+2\,d\,x\right )+1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________